<?php
class Product_Service_ReceivingLog
{	

	public function __construct(){
		
	}

	public function add($row){
		$Obj = new Product_Model_ReceivingLog();
		return $Obj->add($row);		
	}
	
	public function update($row,$value,$field='rl_id'){
		$Obj = new Product_Model_ReceivingLog();
		return $Obj->update($row,$value,$field);		
	}
	
	public function delete($value,$field='rl_id'){
		$Obj = new Product_Model_ReceivingLog();
		return $Obj->delete($value,$field);		
	}
	
	public function getByValue($value,$field='rl_id'){
		$Obj = new Product_Model_ReceivingLog();
		return $Obj->getByValue($value,$field);	
	}	
	
	/**
	 * 根据条件获取指定信息
	 */
	public function getByCond($cond,$type='*',$order='',$count=20, $offset=0){
		$Obj = new Product_Model_ReceivingLog();
		$rows = $Obj->getByCond($cond,$type,$order,$count,$offset);
		return $rows;		
	}
	
}